package com.system.goodstypeserver.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created with IntelliJ IDEA.
 * User: ll
 * Date: 2020/07/08 9:20
 * Description:
 * Version: V1.0
 */
@ApiModel(value = "商品类型swagger专供")
public class TempGoodsType {
    @ApiModelProperty(name = "goodsType_id",notes = "商品类型id",dataType = "long",required = false)
    private long goodsType_id;
    @ApiModelProperty(name = "goodsType_name",notes = "商品类型名称",dataType = "String",required = false)
    private String goodsType_name;
    @ApiModelProperty(name="nowsPage" ,notes = "当前页数", required = true)
    private int nowsPage;//当前页数
    @ApiModelProperty(name="pageSize" ,notes = "页面显示条数", required = true)
    private int pageSize;//页面显示条数

    public long getGoodsType_id() {
        return goodsType_id;
    }

    public void setGoodsType_id(long goodsType_id) {
        this.goodsType_id = goodsType_id;
    }

    public String getGoodsType_name() {
        return goodsType_name;
    }

    public void setGoodsType_name(String goodsType_name) {
        this.goodsType_name = goodsType_name;
    }

    public int getNowsPage() {
        return nowsPage;
    }

    public void setNowsPage(int nowsPage) {
        this.nowsPage = nowsPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "TempGoodsType{" +
                "goodsType_id=" + goodsType_id +
                ", goodsType_name='" + goodsType_name + '\'' +
                ", nowsPage=" + nowsPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
